package com.example.yingpianguanlixitong.MainClass;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import lombok.Data;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysMovieCategory implements Serializable {
    //序列号
    private static final long serialVersionUID = 1L;
    @TableId(value = "movieCategoryId ", type = IdType.AUTO)
    //电影分类id
    private Long movieCategoryId;

    //电影分类名称
    @NotBlank(message = "电影分类名称不能为空")
    private String movieCategoryName;
}